package com.atguigu.chapter13

object CurryDemo01 {
  def main(args: Array[String]): Unit = {
    // 函数柯里化案例01
    println(mulCurry2(10)(8))
    println(eq2("abc")("aBc"))

  }

  def mulCurry2(x: Int)(y: Int): Int = {
    x * y
  }

  def eq2(s1: String)(s2: String): Boolean = {
    s1.toLowerCase.equals(s1.toLowerCase())
  }
}
